
/* 列表样式 */


/* 模块通用样式 */
.content-module {
    margin-bottom: 2rem;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.content-module:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.content-module .module-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #FAFAFA;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-module .module-header .module-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1D2129;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-module .module-header .module-title i {
    color: var(--primary);
}

.content-module .module-header .module-more {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.content-module .module-header .module-more:hover {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.content-module .module-body {
    padding: 1.25rem;
}

/* 最新文章模块 */
.content-module .module-body .article-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.content-module .module-body .article-item {
    display: flex;
    gap: 1rem;
    transition: background-color 0.2s;
    padding: 0.5rem;
    border-radius: var(--radius);
}

.content-module .module-body .article-item:hover {
    background-color: #F7F8FA;
}

.content-module .module-body .article-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.content-module .module-body .article-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.content-module .module-body .article-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.content-module .module-body .article-title a {
    color: #1D2129;
    text-decoration: none;
}

.content-module .module-body .article-title a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.content-module .module-body .article-desc {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-module .module-body .article-meta {
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

/* 热议问答模块 */
.content-module .module-body .qa-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.content-module .module-body .qa-item {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.content-module .module-body .qa-item:hover {
    border-color: var(--primary-light);
    background-color: #F7F8FA;
}

.content-module .module-body .qa-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.content-module .module-body .qa-title a {
    color: #1D2129;
    text-decoration: none;
}

.content-module .module-body .qa-title a:hover {
    color: var(--primary);
}

.content-module .module-body .qa-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--secondary);
}

.content-module .module-body .qa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.content-module .module-body .qa-tag {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    background-color: #E8F3FF;
    color: var(--primary);
    border-radius: 4px;
}

/* 近期活动模块 */
.content-module .module-body .event-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.content-module .module-body .event-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.content-module .module-body .event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.content-module .module-body .event-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.content-module .module-body .event-info {
    padding: 0.75rem;
}

.content-module .module-body .event-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.content-module .module-body .event-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.content-module .module-body .event-title a {
    color: #1D2129;
    text-decoration: none;
}

.content-module .module-body .event-title a:hover {
    color: var(--accent);
}

.content-module .module-body .event-location {
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 热门投票模块 */
.content-module .module-body .voting-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-module .module-body .vote-card {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.content-module .module-body .vote-question {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1D2129;
}

.content-module .module-body .vote-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.content-module .module-body .vote-option {
    cursor: pointer;
}

.content-module .module-body .vote-option input {
    margin-right: 0.5rem;
}

.content-module .module-body .vote-bar-container {
    height: 6px;
    background-color: #F2F3F5;
    border-radius: 3px;
    margin-top: 0.25rem;
    overflow: hidden;
}

.content-module .module-body .vote-bar {
    height: 100%;
    background-color: var(--primary);
}

.content-module .module-body .vote-count {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

.content-module .module-body .vote-footer {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
}

/* 星座速览模块 */
.content-module .module-body .horoscope-list {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.content-module .module-body .horoscope-list::-webkit-scrollbar {
    height: 4px;
}

.content-module .module-body .horoscope-list::-webkit-scrollbar-thumb {
    background-color: #CCD0D6;
    border-radius: 2px;
}

.content-module .module-body .horoscope-item {
    flex: 0 0 110px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s;
}

.content-module .module-body .horoscope-item:hover {
    background-color: #F7F8FA;
    border-color: var(--primary-light);
}

.content-module .module-body .horoscope-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    background-color: #E8F3FF;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-module .module-body .horoscope-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.content-module .module-body .horoscope-fortune {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    line-height: 1.3;
}


/* 通用列表样式 */
.content-list {
    list-style: none;
    margin: 0;
    padding: 1.25rem;
}

.content-list .content-item {
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.content-list .content-item:last-child {
    border-bottom: none;
}

.content-list .content-item:hover {
    background-color: rgba(79, 70, 229, 0.03);
    padding-left: 8px;
}

.content-list .content-item .item-info {
    flex: 1;
}

.content-list .content-item .item-title {
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 1.05rem;
}

.content-list .content-item .item-title a {
    color: #1e293b;
    text-decoration: none;
    transition: var(--transition);
}

.content-list .content-item .item-title a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.content-list .content-item .item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--secondary);
}

.content-list .content-item .item-meta span {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.content-list .content-item .item-meta span:hover {
    color: var(--primary);
}

.content-list .content-item .item-meta i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* 最新文章模块样式 */
.content-list .content-item .article-thumbnail {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 18px;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.content-list .content-item:hover .article-thumbnail {
    transform: scale(1.07);
    box-shadow: var(--shadow);
}

.content-list .content-item .article-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-right: 10px;
    font-weight: 600;
    text-transform: capitalize;
}

.content-list .content-item .category-tech {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.content-list .content-item .category-life {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.content-list .content-item .category-business {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--warning);
}

.content-list .content-item .category-health {
    background-color: rgba(236, 72, 153, 0.1);
    color: var(--accent);
}

/* 热议问答模块样式 */
.content-list .content-item .question-status {
    min-width: 70px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    text-align: center;
    margin-right: 18px;
    flex-shrink: 0;
    font-weight: 600;
}

.content-list .content-item .status-resolved {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.content-list .content-item .status-unresolved {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.content-list .content-item .status-popular {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--warning);
}

/* 近期活动模块样式 */
.content-list .content-item .event-date {
    min-width: 70px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.1);
}

.content-list .content-item .event-date .day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.content-list .content-item .event-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.content-list .content-item .event-type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-right: 10px;
    font-weight: 600;
}

.content-list .content-item .type-online {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.content-list .content-item .type-offline {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.content-list .content-item .type-mixed {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* 热门投票模块样式 */
.content-list .content-item .voting-progress {
    width: 90px;
    height: 90px;
    margin-right: 18px;
    flex-shrink: 0;
    position: relative;
}

.content-list .content-item .progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.content-list .content-item .progress-ring-circle {
    stroke: var(--primary);
    stroke-width: 6;
    fill: transparent;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-linecap: round;
}

.content-list .content-item .progress-background {
    stroke: #e2e8f0;
    stroke-width: 6;
    fill: transparent;
    stroke-linecap: round;
}

.content-list .content-item .voting-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
}

/* 星座速览模块样式 */
.content-list .content-item .horoscope-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.content-list .content-item:hover .horoscope-icon {
    transform: rotate(10deg);
}

.content-list .content-item .aries {
    background-color: #f43f5e;
}

.content-list .content-item .taurus {
    background-color: #8b5cf6;
}

.content-list .content-item .gemini {
    background-color: #3b82f6;
}

.content-list .content-item .cancer {
    background-color: #10b981;
}

.content-list .content-item .leo {
    background-color: #f59e0b;
}

.content-list .content-item .virgo {
    background-color: #6366f1;
}

.content-list .content-item .horoscope-lucky {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-right: 10px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-weight: 600;
}

.content-list .content-item .horoscope-desc {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: 6px;
    line-height: 1.5;
}




